package com.android.fastride.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.android.fastride.R;

public class MessageListAdapter extends RecyclerView.Adapter<MessageListAdapter.MseeageHolder> {

    @Override
    public MseeageHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.list_item_message,
                parent, false);
        MseeageHolder messageHolder = new MseeageHolder(view);
        return messageHolder;
    }

    @Override
    public void onBindViewHolder(MseeageHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return 15;
    }

    class MseeageHolder extends RecyclerView.ViewHolder{

        public MseeageHolder(View itemView) {
            super(itemView);
        }
    }
}
